﻿<%@ Page Language="C#" %>

<%@ Register Src="~/UIControls/WUC_UpFile.ascx" TagName="WUC_UpFile" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>上传文件</title>
    <base target="_self"/>
    <meta http-equiv="expires" content="0" /><!--页面不被缓存-->
<script type="text/javascript" src="../AdminCMS/js/UIMethod.js"></script>
</head>
<body style="text-align:center;">
<link id="mylink" href="../AdminCMS/css/style<%=UIMethod.GetStyleValue()%>.css" type="text/css" rel="stylesheet"/>
    <form id="form1" runat="server">
      
	  <table cellSpacing="0" cellPadding="0" width="100%" class="border" style="margin:1px;">
		<tr>
			<td class="tdbg_left">
			
			<uc1:WUC_UpFile ID="WUC_UpFile1" runat="server" FileSize="50000" FileType="*" SaveDirectory="Rar/" TypeTitle="地址" />
						
			</td>			
		</tr>		
      
            <tr>			
                <td style="text-align:center; height:40px;">
                    <input type="button" value="确定" onclick="doOK();" />
                </td>
            </tr>
        </table>
		<!--阴影-->
	<div style="width:98%;" class="tdbg_left2">
	</div>
	<!--阴影end-->
	
	
    </form>
</body>
</html>
<script type="text/javascript">
//获取传递的参数
var Selected = window.dialogArguments;
var obj = document.getElementById("<%= WUC_UpFile1.GetFileClientID %>");

function doOK() {    
    window.returnValue = obj.value;
    window.close();
}
</script>